/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package smssender;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.smslib.GatewayException;
import org.smslib.TimeoutException;

/**
 *
 * @author rdjayawe
 */
public class SMSSender {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        try {
            // TODO code application logic here
            SMSMessageEngine engine = new SMSMessageEngine();
            engine.init();
            engine.sendSMSMessage("94771169711", "SMS is Working!! ;)");
        } catch (InterruptedException | TimeoutException | GatewayException | IOException ex) {
            System.out.println(ex.getMessage());
        }
    }
    
}
